import { getAction, deleteAction, putAction, postAction, httpAction, downFile } from '@/api/manage'

/*-----------职业技能培训-----------*/
const serviceName = '/sjsk-crowmanage-service'
const viewTrainProgram = (params) => postAction(`${serviceName}/sjskTrainProgram/viewTrainProgram`, params)
const exportTrainProgram = (params) => downFile(`${serviceName}/sjskTrainProgram/exportTrainProgram`, params, 'post')
const viewTrainApply = (params) => postAction(`${serviceName}/sjskTrainProgram/viewTrainApply`, params)
const viewTrainDetails = (params) => postAction(`${serviceName}/sjskTrainProgram/viewTrainDetails`, params)
const exportTrainApply = (params) => downFile(`${serviceName}/sjskTrainProgram/exportTrainApply`, params, 'post')
export {
  viewTrainProgram,
  exportTrainProgram,
  viewTrainApply,
  viewTrainDetails,
  exportTrainApply
}
